package com.yuxl.common.auth.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

/**
 * @Author : yuxl
 * @create 2025/7/22 下午5:35
 */
@Schema(description = "角色-菜单实体")
@Table("auth_role_menu")
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class AuthRoleMenu {
    @Id
    @Schema(description = "角色标识")
    private String roleMark;
    @Schema(description = "菜单名称")
    private String menuName;
}
